using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace WizardCreator
{
    public partial class NameDialog : Form
    {
        public NameDialog()
        {
            InitializeComponent();
        }
        private string _name;

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        private void Form2_Load(object sender, EventArgs e)
        {
            if (!String.IsNullOrEmpty(this.Name))
            {
                _importName.Text = Name;
            }
        }

        private void Form2_FormClosing(object sender, FormClosingEventArgs e)
        {
            _name = _importName.Text;
        }
	
    }
}